package com.web_project.controller;


import com.web_project.model.User;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/common")
public class TestController {

    @PostMapping("/login")
    public String helloWorld(@RequestBody User user){
        System.out.println(user);
        return "Success!!";
    }
}
